package com.tcfvic.client.panels.widgets;

import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Widget;
import com.tcfvic.client.pojos.Person;

public interface TCFWidgetContent {
	
	public void initialise();
	
	public String getName();
	
	public Widget getContent();
	
	public void updateContent(Object o);
	
	public <T> T saveContent (T t) throws Exception;
	
	public void setSaveClickHandler(ClickHandler clickHandler);
	
	public void clear();
	
	public void createNewRecord();
	
	public void onSave(Person person);
}
